package cn.craftyun.yunexam.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SaveAnswerRequest {
    /**
     * 考试ID
     */
    @NotNull
    private Long examId;
    /**
     * 题目ID
     */
    @NotNull
    private Long questionId;
    /**
     * 答案数组
     */
    @NotNull
    private List<String> answer;
}
